﻿using System;

namespace Nextensions.Data
{
    public class SQLInfo
    {
        public string ServerName, DatabaseName, UserName, Password;

        public SQLInfo(string ServerName, string DatabaseName, string UserName, string Password)
        {
            this.ServerName = ServerName;
            this.DatabaseName = DatabaseName;
            this.UserName = UserName;
            this.Password = Password;
        }

        public override string ToString()
        {
            return String.Format(@"{0}@{1}/{2}", UserName, ServerName, DatabaseName);
        }
    }
}
